package com.zhiche.lisa.bms.dao.model.statistics;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 账单明细统计表
 * </p>
 *
 * @author liangpeng
 * @since 2019-01-26
 */
@TableName("lisa_static_bill_detail")
public class StaticBillDetail extends Model<StaticBillDetail> {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    /**
     * 账单编号
     */
    @TableField("bms_detail_id")
    private String bmsDetailId;
    /**
     * 账单编号
     */
    @TableField("bill_id")
    private String billId;
    /**
     * 系统订单号
     */
    @TableField("sys_order_id")
    private String sysOrderId;
    /**
     * 客户运单号
     */
    @TableField("cust_waybill_id")
    private String custWaybillId;
    /**
     * 调度指令号
     */
    @TableField("shipment_code")
    private String shipmentCode;
    /**
     * 系统运单号
     */
    @TableField("sys_waybill_id")
    private String sysWaybillId;
    /**
     * 发票号
     */
    @TableField("invoice_code")
    private String invoiceCode;
    /**
     * 申请开票金额
     */
    @TableField("invoice_request_money")
    private BigDecimal invoiceRequestMoney;
    /**
     * 已开票金额
     */
    @TableField("invoice_money")
    private BigDecimal invoiceMoney;
    /**
     * 实付金额
     */
    @TableField("actual_money")
    private BigDecimal actualMoney;
    /**
     * 调平费用
     */
    @TableField("leveling_fee")
    private BigDecimal levelingFee;
    /**
     * 处理状态
     */
    @TableField("deal_status")
    private Integer dealStatus;
    /**
     * 处理时间
     */
    @TableField("deal_time")
    private Date dealTime;
    /**
     * 创建时间
     */
    @TableField("gmt_create")
    private Date gmtCreate;
    /**
     * 更新时间
     */
    @TableField("gmt_modify")
    private Date gmtModify;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getBmsDetailId() {
        return bmsDetailId;
    }

    public void setBmsDetailId(String bmsDetailId) {
        this.bmsDetailId = bmsDetailId;
    }

    public String getBillId() {
        return billId;
    }

    public void setBillId(String billId) {
        this.billId = billId;
    }

    public String getSysOrderId() {
        return sysOrderId;
    }

    public void setSysOrderId(String sysOrderId) {
        this.sysOrderId = sysOrderId;
    }

    public String getCustWaybillId() {
        return custWaybillId;
    }

    public void setCustWaybillId(String custWaybillId) {
        this.custWaybillId = custWaybillId;
    }

    public String getShipmentCode() {
        return shipmentCode;
    }

    public void setShipmentCode(String shipmentCode) {
        this.shipmentCode = shipmentCode;
    }

    public String getSysWaybillId() {
        return sysWaybillId;
    }

    public void setSysWaybillId(String sysWaybillId) {
        this.sysWaybillId = sysWaybillId;
    }

    public String getInvoiceCode() {
        return invoiceCode;
    }

    public void setInvoiceCode(String invoiceCode) {
        this.invoiceCode = invoiceCode;
    }

    public BigDecimal getInvoiceRequestMoney() {
        return invoiceRequestMoney;
    }

    public void setInvoiceRequestMoney(BigDecimal invoiceRequestMoney) {
        this.invoiceRequestMoney = invoiceRequestMoney;
    }

    public BigDecimal getInvoiceMoney() {
        return invoiceMoney;
    }

    public void setInvoiceMoney(BigDecimal invoiceMoney) {
        this.invoiceMoney = invoiceMoney;
    }

    public BigDecimal getActualMoney() {
        return actualMoney;
    }

    public void setActualMoney(BigDecimal actualMoney) {
        this.actualMoney = actualMoney;
    }

	public BigDecimal getLevelingFee() {
		return levelingFee;
	}

	public void setLevelingFee(BigDecimal levelingFee) {
		this.levelingFee = levelingFee;
	}

	public Integer getDealStatus() {
        return dealStatus;
    }

    public void setDealStatus(Integer dealStatus) {
        this.dealStatus = dealStatus;
    }

    public Date getDealTime() {
        return dealTime;
    }

    public void setDealTime(Date dealTime) {
        this.dealTime = dealTime;
    }

    public Date getGmtCreate() {
        return gmtCreate;
    }

    public void setGmtCreate(Date gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    public Date getGmtModify() {
        return gmtModify;
    }

    public void setGmtModify(Date gmtModify) {
        this.gmtModify = gmtModify;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "StaticBillDetail{" +
                ", id=" + id +
                ", billId=" + billId +
                ", sysOrderId=" + sysOrderId +
                ", custWaybillId=" + custWaybillId +
                ", shipmentCode=" + shipmentCode +
                ", sysWaybillId=" + sysWaybillId +
                ", levelingFee=" + levelingFee +
                ", dealStatus=" + dealStatus +
                ", dealTime=" + dealTime +
                ", gmtCreate=" + gmtCreate +
                ", gmtModify=" + gmtModify +
                "}";
    }
}
